package com.qsl.ssyx.acl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qsl.ssyx.model.acl.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qsl.ssyx.vo.acl.AdminQueryVo;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 青衫泪
 * @since 2023-08-06
 */
public interface AdminService extends IService<Admin> {

    //条件分页查询
    IPage<Admin> selectPage(Page<Admin> pageParam, AdminQueryVo adminQueryVo);

    // 为用户分配角色
    Boolean doAssign(Long adminId, Long[] roleIds);
}
